package com.hh.demo.service;

import com.hh.demo.domain.CourseOrder;
import com.baomidou.mybatisplus.service.IService;
import com.hh.demo.dto.CourseOrderCreateParamsDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author goeun
 * @since 2022-07-29
 */
public interface ICourseOrderService extends IService<CourseOrder> {

    String placeOrder(CourseOrderCreateParamsDto dto);

    void payOrder(CourseOrder courseOrder);

    void cancelOrder(String orderNo);
}
